package com.bianmaba.jobs.supports;

public enum JobParameter {
    TASK_INSTANCE_ID("taskInstanceId", 1),
    TASK_ID("taskId", 2),
    DESCRIPTION("description", 3),
    COLLECTION_PARAMETERS("collectionParameters", 4),
    PROJECT_ID("projectId", 5);

    // 成员变量
    private String name;
    private int index;

    // 构造方法
    private JobParameter(String name, int index) {
        this.name = name;
        this.index = index;
    }

    // get set 方法
    public String getName() {
        return name;
    }
}
